\documentclass[french,12pt,a4paper,oneside,notitlepage]{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[margin=2.5cm]{geometry}
\usepackage[french]{babel}
\usepackage{xcolor}
\usepackage{times}
\usepackage{graphicx}
\usepackage{amsthm}
\usepackage{fourier}
\usepackage{hyperref}   % links im text
\usepackage{enumerate}  % for advanced numbering of lists
\usepackage{fancyhdr}  
\usepackage{caption}
\usepackage{listings}
%\usepackage{mathtools}
\usepackage{amsmath}   %arraycolsep
\usepackage[protrusion=true,expansion=true]{microtype}
\usepackage{color}
\usepackage{pdflscape}
\makeatletter
\definecolor{bl}{rgb}{0,0.2,0.6}
\let\LaTeX@startsection\@startsection
\renewcommand{\@startsection}[6]{\LaTeX@startsection%
{#1}{#2}{#3}{#4}{#5}{\color{bl}\raggedright #6}}
\renewcommand{\thesection}{\@arabic\c@section}{\color{bl}}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
  {-3.25ex\@plus -1ex \@minus -.2ex}%
  {1.5ex \@plus .2ex}%
  {\normalfont\normalsize\bfseries}}
\makeatother

\DeclareCaptionFont{white}{\color{white}}
\DeclareCaptionFormat{listing}{%
  \parbox{\textwidth}{\colorbox{gray}{\parbox{\textwidth}{#1#2#3}}}}
\captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white}
\lstset{frame=lrb,xleftmargin=\fboxsep,xrightmargin=-\fboxsep}

\lstset{
 	language=C++,
% 	captionpos=b,
 	tabsize=3,
 	frame=single,
 	xleftmargin=\fboxsep,
 	xrightmargin=-\fboxsep,
 	keywordstyle=\color{blue},
 	commentstyle=\color{gray},
 	stringstyle=\color{green},
	extendedchars=true,
% 	numbers=left,
 	numberstyle=\tiny,
 	numbersep=5pt,
 	breaklines=true,
 	showstringspaces=false,
 	basicstyle=\footnotesize\ttfamily,
 	emph={label},
 	inputencoding=utf8,
 	extendedchars=true, 	
 	  literate=%
 	  {é}{{\'{e}}}1
 	  {è}{{\`{e}}}1
 	  {ê}{{\^{e}}}1
 	  {ë}{{\¨{e}}}1
 	  {û}{{\^{u}}}1
 	  {ù}{{\`{u}}}1
 	  {â}{{\^{a}}}1
 	  {à}{{\`{a}}}1
 	  {î}{{\^{i}}}1
 	  {ç}{{\c{c}}}1
 	  {Ç}{{\c{C}}}1
 	  {É}{{\'{E}}}1
 	  {Ê}{{\^{E}}}1
 	  {À}{{\`{A}}}1
 	  {Â}{{\^{A}}}1
 	  {Î}{{\^{I}}}1	
}



%Page
% type user-defined commands here
\begin{document}
\title{RAPPORT DU PROJET \\
  Classification de documents}
\author{Rédigé par:\\
Nguyen Van Tho, Khong Minh Thanh\vspace{1cm}\\
Sous la supervision de :\\
Rémy Mullot}         
%\date{ Décembre, 2013}    % type date between braces

\maketitle

\section{Introduction}
%\section{Méthodes proposées}
%\pagebreak
%\subsection{Prétraitement d'images}
%\subsection{Extraction de caractéristiques}
%\subsubsection{Extraction de caractéristiques par diviser en blocs}
%\subsubsection{Principal component analysis (PCA)}
%\subsection{Cluster}
%\section{Expérimentation}
%\subsection{Indicateurs pris en compte pour l’évaluation des méthodes proposées}
%\subsection{Méthode d'évaluation}
%\subsection{Expérimentations}
\subsection{Résultat}

\textbf{data 0}

total true: 1163\\
total predict: 1287\\
true rate: 0.903652\\

real	0m21.913s\\
user	0m21.588s\\
sys	0m0.276s\\

\begin{table}
    \begin{center}
    %\resizebox{\textwidth}{!}{%
        \begin{tabular}{|l|l|l|l|l|l|l|l|l|l|l|l|l|}
	       \hline
			52 & 0 & 2 & 2 & 1 & 1 & 1 & 3 & 1 & 2 & 4 & 2 & 1   \\
			0 & 76 & 0 & 1 & 0 & 2 & 0 & 0 & 0 & 0 & 0 & 2 & 0  \\
			2 & 0 & 63 & 0 & 0 & 0 & 0 & 2 & 0 & 0 & 1 & 2 & 0   \\
			1 & 0 & 0 & 90 & 0 & 1 & 0 & 1 & 0 & 0 & 1 & 2 & 0   \\
			0 & 2 & 1 & 0 & 107 & 1 & 0 & 0 & 6 & 3 & 0 & 0 & 0   \\
			0 & 0 & 0 & 0 & 0 & 108 & 0 & 0 & 1 & 0 & 0 & 0 & 0   \\
			0 & 1 & 0 & 0 & 3 & 0 & 76 & 1 & 0 & 0 & 5 & 0 & 0   \\
			2 & 1 & 0 & 0 & 0 & 3 & 0 & 92 & 0 & 1 & 0 & 4 & 0   \\
			0 & 0 & 0 & 0 & 2 & 5 & 0 & 0 & 115 & 3 & 0 & 0 & 0   \\
			0 & 0 & 0 & 0 & 6 & 5 & 0 & 0 & 1 & 124 & 1 & 0 & 0   \\
			0 & 0 & 0 & 2 & 0 & 0 & 0 & 1 & 0 & 0 & 90 & 4 & 0   \\
			1 & 2 & 0 & 0 & 0 & 1 & 2 & 2 & 2 & 1 & 3 & 104 & 1   \\
			0 & 1 & 2 & 1 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 1 & 66   \\
           \hline
        \end{tabular}
    \end{center}
	\caption{bag of words + SVM, vocabulary = 2000, hessian threshold = 300 }
\end{table}

data 1
confusion matrix
total true: 796
total predict: 1286
true rate: 0.618974

real	0m27.167s
user	0m26.808s
sys	0m0.296s

28 & 0 & 4 & 17 & 1 & 3 & 0 & 1 & 1 & 0 & 9 & 4 & 4   \\
0 & 61 & 0 & 6 & 0 & 6 & 0 & 0 & 4 & 1 & 1 & 0 & 1   \\
8 & 1 & 23 & 13 & 0 & 0 & 0 & 17 & 0 & 0 & 2 & 2 & 4   \\
19 & 3 & 12 & 46 & 0 & 0 & 0 & 5 & 0 & 0 & 3 & 2 & 6   \\
2 & 2 & 0 & 0 & 85 & 2 & 2 & 0 & 8 & 18 & 0 & 1 & 0   \\
0 & 0 & 0 & 0 & 0 & 98 & 0 & 0 & 5 & 7 & 0 & 0 & 0   \\
3 & 3 & 1 & 0 & 13 & 0 & 46 & 2 & 4 & 4 & 7 & 4 & 0   \\
5 & 0 & 6 & 5 & 0 & 0 & 1 & 64 & 1 & 1 & 8 & 12 & 0   \\
1 & 4 & 0 & 0 & 9 & 8 & 0 & 0 & 85 & 17 & 0 & 0 & 0   \\
0 & 2 & 0 & 0 & 27 & 16 & 1 & 1 & 19 & 68 & 1 & 2 & 0   \\
0 & 3 & 0 & 2 & 1 & 1 & 1 & 9 & 1 & 1 & 70 & 8 & 0   \\
5 & 1 & 0 & 4 & 1 & 2 & 5 & 9 & 3 & 0 & 7 & 82 & 0   \\
5 & 1 & 7 & 10 & 1 & 0 & 0 & 5 & 0 & 0 & 2 & 0 & 40   \\

	
confusion matrix
total true: 804
total predict: 1286
true rate: 0.625194

real	0m19.310s
user	0m19.072s
sys	0m0.192s

21 & 1 & 8 & 14 & 1 & 0 & 2 & 3 & 4 & 9 & 4 & 1 & 4 &  \\
0 & 70 & 0 & 3 & 0 & 2 & 0 & 0 & 3 & 2 & 0 & 0 & 0 &  \\
13 & 3 & 18 & 18 & 0 & 0 & 0 & 10 & 0 & 0 & 1 & 2 & 5 &  \\
21 & 5 & 8 & 47 & 0 & 1 & 0 & 1 & 1 & 0 & 6 & 3 & 4 &  \\
1 & 1 & 0 & 0 & 83 & 4 & 9 & 0 & 11 & 10 & 0 & 1 & 0 &  \\
0 & 0 & 0 & 0 & 0 & 103 & 0 & 0 & 4 & 2 & 0 & 0 & 0 &  \\
0 & 2 & 0 & 2 & 10 & 0 & 49 & 0 & 7 & 4 & 8 & 5 & 0 &  \\
2 & 1 & 4 & 1 & 0 & 0 & 1 & 72 & 0 & 0 & 9 & 11 & 1 &  \\
0 & 0 & 0 & 0 & 7 & 7 & 0 & 0 & 100 & 11 & 0 & 0 & 0 &  \\
0 & 6 & 0 & 0 & 28 & 14 & 2 & 0 & 24 & 60 & 0 & 2 & 0 &  \\
0 & 2 & 1 & 2 & 0 & 1 & 1 & 5 & 4 & 5 & 68 & 9 & 0 &  \\
0 & 1 & 0 & 1 & 4 & 1 & 3 & 16 & 1 & 3 & 9 & 78 & 1 &  \\
2 & 3 & 8 & 14 & 0 & 0 & 0 & 5 & 1 & 0 & 3 & 1 & 35 &  \\



	
	
	
	
\subsubsection{Analyses}
\section{Conclusion et Perspective}
\pagebreak
\section*{Références}
%[1] Wold, Svante, Kim Esbensen, and Paul Geladi. "Principal component analysis." 
%Chemometrics and intelligent laboratory systems 2.1 (1987): 37-52.

%[2]Hartigan, John A., and Manchek A. Wong. "Algorithm AS 136: A k-means clustering algorithm." Journal of the Royal Statistical Society. Series C (Applied Statistics) 28.1 (1979): 100-108.
\end{document}
